<template>
  <div class="set_file">
    <span>文件管理</span>
    <div class="file_wrapper">
      <div class="file">
        C:\Users\Admin\Desktop\新学期编程课程大纲\scratch 社团\scratch 社团课
      </div>
      <div class="change_file">更改位置</div>
    </div>
  </div>
</template>

<script setup lang="ts"></script>

<style lang="scss" scoped>
.set_file {
  padding: 20px;
  box-sizing: border-box;

  .file_wrapper {
    width: 500px;
    margin-top: 10px;
    padding: 0px 0 0px 10px;
    overflow: hidden;
    display: flex;
    border-radius: 5px;
    background-color: #f5f5f5;

    .file {
      width: 400px;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      display: flex;
      align-items: center;
      box-sizing: border-box;
      padding-right: 20px;
    }

    .change_file {
      flex: 1;
      color: #fff;
      padding: 10px;
      margin-left: 10px;
      box-sizing: border-box;
      background-color: #07c160;
    }
  }
}
</style>
